negotiator.protocol.auction
Class MultiPhaseAuctionProtocol

java.lang.Object
  extended by negotiator.protocol.Protocol
      extended by negotiator.protocol.auction.AuctionProtocol
          extended by negotiator.protocol.auction.MultiPhaseAuctionProtocol
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable

public class MultiPhaseAuctionProtocol
extends AuctionProtocol

See Also:
Serialized Form

Field Summary
 
Fields inherited from class negotiator.protocol.auction.AuctionProtocol
ALLOWED_UTILITY_DEVIATION, gui_nego_time, non_gui_nego_time
 
Fields inherited from class negotiator.protocol.Protocol
domain, negoThread, sessionNr, stopNegotiation, totalSessions, tournamentRunner
 
Constructor Summary
MultiPhaseAuctionProtocol(AgentRepItem[] agentRepItems, ProfileRepItem[] profileRepItems, java.util.HashMap<AgentParameterVariable,AgentParamValue>[] agentParams, int cSR, int tSR)
           
 
Method Summary
protected static AuctionProtocol createSession(Tournament tournament, ProfileRepItem profileCenter, ProfileRepItem profileSeller1, ProfileRepItem profileSeller2)
           
 java.lang.String getName()
           
 NegotiationOutcome getNegotiationOutcome()
           
static java.util.ArrayList<Protocol> getTournamentSessions(Tournament tournament)
           
 void run()
           
 
Methods inherited from class negotiator.protocol.auction.AuctionProtocol
calculateTheoreticalOutcome, runNegotiationSession, runNegotiationSession
 
Methods inherited from class negotiator.protocol.Protocol
addNegotiationEventListener, fireBilateralAtomicNegotiationSessionEvent, fireLogMessage, fireNegotiationActionEvent, getAgentName, getAgentParams, getAgentRepItem, getAgentUtilitySpaces, getDomain, getNegotiationEventListeners, getNumberOfAgents, getProfileRepItems, getSessionNumber, getTotalSessions, hashCode, loadAgentsUtilitySpaces, removeNegotiationEventListener, setTournamentRunner, startSession, stopNegotiation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiPhaseAuctionProtocol

public MultiPhaseAuctionProtocol(AgentRepItem[] agentRepItems,
                                 ProfileRepItem[] profileRepItems,
                                 java.util.HashMap<AgentParameterVariable,AgentParamValue>[] agentParams,
                                 int cSR,
                                 int tSR)
                          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getName

public java.lang.String getName()
Overrides:
getName in class AuctionProtocol

getNegotiationOutcome

public NegotiationOutcome getNegotiationOutcome()
Overrides:
getNegotiationOutcome in class AuctionProtocol

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class AuctionProtocol

getTournamentSessions

public static java.util.ArrayList<Protocol> getTournamentSessions(Tournament tournament)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createSession

protected static AuctionProtocol createSession(Tournament tournament,
                                               ProfileRepItem profileCenter,
                                               ProfileRepItem profileSeller1,
                                               ProfileRepItem profileSeller2)
                                        throws java.lang.Exception
Throws:
java.lang.Exception